package com.wxzz.elearing.evaluation.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wxzz.elearning.common.dto.BasePage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;


@Data
public class BusinessCategoryRuleHistoryDto extends BasePage {

    @ApiModelProperty(value = "工厂体检/星级认证标题")
    private String ruleName;

    @ApiModelProperty(value = "行业类目id")
    private Long businessCategoryId;

    @NotNull(message = "请传入type")
    @ApiModelProperty(value = "0-工厂体检 1-星级认证",required = true)
    private Integer type;

    @ApiModelProperty(value = "微信用户id")
    private Long wxUserId;

    @ApiModelProperty(value = "工厂体检/星级测评id",required = true)
    private Long BusinessCategoryRuleId;

    @ApiModelProperty(value = "企业id")
    private Long enterpriseId;

    @ApiModelProperty(value = "部门id")
    private Long enterpriseOrganizationId;

    @ApiModelProperty(value = "星级")
    private Integer startLevel;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "测评时间(开始) 格式：yyyy-MM-dd")
    private LocalDateTime startTimeStart;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "测评时间(结束) 格式：yyyy-MM-dd")
    private LocalDateTime startTimeEnd;

}
